package com.baozun.service;

import java.util.List;

import com.baozun.model.TUser;
import com.baozun.model.TUserExample;
import com.baozun.util.PageData;

/**
 * 
 *@Title:
 *@Company:宝尊电子商务有限公司
 *@Description:
 *@Author:万世极缘
 *@Since:2014年12月25日
 *@Copyright:Copyright (c) 2014
 *@ModifyDate:
 *@Version:1.1.0
 */
public interface UserService{

    public TUser getByUsername(String stUsername);
    
    public void add(TUser bean);

    public TUser get(String id);

    public void update(TUser bean);

    public void delete(String id);

    public PageData<TUser> getPageListByExample(TUserExample record, int pageSize, int currentPage);

    public List<TUser> getList(TUserExample record);
}
